package com.zhangtai.modules.vo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zhangtai.config.LongJsonDeserializer;
import com.zhangtai.config.LongJsonSerializer;
import com.zhangtai.utils.Excel.ExcelAnnotation;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class ImportSecurityVo {
    @ExcelAnnotation(rowName="员工姓名")
    private String name;

    @ApiModelProperty(value="员工工号")
    @ExcelAnnotation(rowName="员工工号")
    private String code;

    @ExcelAnnotation(rowName="参保单位", isMust = true)
    private String unitName;

    /**
     *
     */
    @JsonDeserialize(using = LongJsonDeserializer.class)
    @JsonSerialize(using = LongJsonSerializer.class)
    private Long typeId;
    /**
     * 方案类型
     */
    @ApiModelProperty(value="方案类型")
    private Integer type;

    /**
     * 养老保险基数
     */
    @ApiModelProperty(value="养老保险基数")
    @ExcelAnnotation(rowName="养老保险基数")
    private String endowmentInsurance;
    /**
     * 失业保险基数
     */
    @ApiModelProperty(value="失业保险基数")
    @ExcelAnnotation(rowName="失业保险基数")
    private String unemploymentInsurance;
    /**
     * 医疗保险基数
     */
    @ApiModelProperty(value="医疗保险基数")
    @ExcelAnnotation(rowName="医疗保险基数")
    private String medicalInsurance;
    /**
     * 工伤保险基数
     */
    @ApiModelProperty(value="工伤保险基数")
    @ExcelAnnotation(rowName="工伤保险基数")
    private String injuryInsurance;
    /**
     * 大额医疗
     */
    @ApiModelProperty(value="大额医疗基数")
    @ExcelAnnotation(rowName="大额医疗基数")
    private String largerMedical;
    /**
     * 公积金
     */
    @ApiModelProperty(value="公积金基数")
    @ExcelAnnotation(rowName="公积金基数")
    private String reservedFunds;

    @ApiModelProperty(value="生育保险")
    @ExcelAnnotation(rowName="生育保险")
    private String maternityInsurance;

    @ApiModelProperty(value="残疾保障金")
    @ExcelAnnotation(rowName="残疾保障金")
    private String disabledEmployment;
    @ApiModelProperty(value="补充公积金基数")
    @ExcelAnnotation(rowName="补充公积金基数")
    private String offerFunds;

}
